package com.limboline.bssystem.entity;

public class CustomerEntity {
    private Integer id;

    private String buyer;

    private Integer cid;

    private Integer num;

    private Long purchaseDate;

    private Integer state;

    private Double price;

    public CustomerEntity(Integer id, String buyer, Integer cid, Integer num, Long purchaseDate, Integer state, Double price) {
        this.id = id;
        this.buyer = buyer;
        this.cid = cid;
        this.num = num;
        this.purchaseDate = purchaseDate;
        this.state = state;
        this.price = price;
    }

    public CustomerEntity() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer == null ? null : buyer.trim();
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Long getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(Long purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}